<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title></title>
    <style>
        body {
            font-family:SimSun,'宋体';
            font-size: 14px
        }
    </style>
</head>
<body>
<div style="border-bottom: 1px solid #000000;padding: 10px 5px;margin-bottom: 15px;font-size:16px">
${entity.returnTitle!''}
</div>
<div style="text-align: center;position: relative; width: auto" >
    <h4 style="text-align: center;font-size: 20px;margin:0 auto;display: inline-block;margin-top: 8px;margin-bottom: 8px;width: 200px;">
       	物资归还登记表
    </h4>
    <img src="${barCodeImg!''}" style="position: absolute;right: 10px;top: 0;width: 160px;height: 65px"/>
</div>
<table style="width: 100%;margin-top: 30px">
    <tr>
        <td style="text-align: left">
        ${entity.returnCode!''}
        </td>
        <td style="text-align: right;">
            来往单位：${entity.orgName!''}
        </td>
    </tr>
</table>
<table border="1" style="border-collapse: collapse;width: 100%;margin:auto;">
    <tr>
        <td align="center">序号</td>
        <td align="center">物资名称</td>
        <td align="center">规格</td>
        <td align="center">单位</td>
        <td align="center">出借数量</td>
        <td align="center">待归还数量</td>
        <td align="center">本次归还</td>
        <td align="center">备注</td>
    </tr>
<#list matReturnList as p>
    <tr>
        <td align="center">${p_index+1}</td>
        <td align="center">${p.materialsName}</td>
        <td align="center">${p.specification}</td>
        <td align="center">${p.unit}</td>
        <td align="center">${p.lendNum}</td>
        <td align="center">${p.needReturnNum}</td>
        <td align="center">${p.returnNum}</td>
        <td align="center">${p.remark}</td>
    </tr>
</#list>
</table>
<table style="width: 100%;margin-top: 10px;">
    <tr>
        <td width="33%" style="vertical-align: top;text-align: left;">发放单位：${entity.grantOrgName!''}</td>
        <td width="33%" style="vertical-align: top;text-align: left;">归还时间：${entity.returnTimeStr!''}</td>
        <td width="33%" style="text-align: right;vertical-align: top;">
            <p style="text-align: right;margin: 0;">经办人：${entity.agentName!''}</p>
        </td>
    </tr>
    <tr>
        <td width="50%" style="vertical-align: top;text-align: left" colspan="2">
            <table width="100%">
                <tr>
                    <td style="text-align: left">
                        备注：${entity.remark!''}
                    </td>
                </tr>
            </table>
        </td>
        <td>
            签名： <img src="${entity.signName!''}" style="height: 90px;vertical-align: middle;"/>
        </td>
    </tr>
</table>
</body>
</html>
